import vue from "vue" ;
const _this = vue.prototype ;

const login = (params) => _this.$u.http.post('/user/login' , params) ;
const viparticle = (params) => _this.$u.http.post('/user/viparticle' , params) ;
const getUserInfo = (params) => _this.$u.http.post('/user/getUserInfo' , params) ;
const updateUser = (params) => _this.$u.http.post('/user/updateUser' , params) ;
const apply = (params) => _this.$u.http.post('/user/apply' , params) ;
const test2 = (params) => _this.$u.http.post('122' , params , {
	'content-type' : 'application/x-www-form-urlencoded'
}) ;

export default {
	apply,
	login ,
	viparticle,
	getUserInfo,
	updateUser,
	test2
} ;